package org.tagging.service.impl.philippines;

import org.springframework.stereotype.Service;
import org.tagging.model.Abbreviation;
import org.tagging.model.AbbreviationPhilippines;
import org.tagging.service.AbbreviationService;

import java.time.LocalDateTime;
import java.util.List;

@Service
public class AbbreviationPhilippinesServiceImpl implements AbbreviationService<AbbreviationPhilippines> {
    @Override
    public List<AbbreviationPhilippines> queryByTagId(Integer id) {
        //TODO philippines 没有缩略语
        return null;
    }

    @Override
    public void update(Abbreviation abbreviation) {
        throw new UnsupportedOperationException("add philippines abbreviation not supported!");
    }

    @Override
    public void add(Abbreviation abbreviation) {
        throw new UnsupportedOperationException("add philippines abbreviation not supported!");
    }

    @Override
    public Abbreviation queryById(Integer id) {
        throw new UnsupportedOperationException("add philippines abbreviation not supported!");
    }

    @Override
    public List<? extends Abbreviation> queryByTimePeriod(LocalDateTime startTime, LocalDateTime endTime, int mode) {
        throw new UnsupportedOperationException("query by time period is not supported for phi");
    }
}
